@active-color: #4a4a48;
ul {
  max-height: calc(100vh - 400px);
  overflow-y: auto;
  padding: 0 .5rem;
  i {
    font-size: 1.5rem !important;
    border: 1px solid #f1f1f1;
    padding: .2rem;
    margin: .3rem;
    cursor: pointer;
    &.active, &:hover {
      border-radius: 2px;
      border-color: @active-color;
      background-color: @active-color;
      color: #fff;
      transition: all .3s;
    }
  }
	span {
    font-size: 1.5rem !important;
    border: 1px solid #f1f1f1;
    padding: .2rem;
    margin: .3rem;
    cursor: pointer;
    &.active, &:hover {
      border-radius: 2px;
      border-color: @active-color;
      background-color: @active-color;
      color: #fff;
      transition: all .3s;
    }
  }
  li {
    list-style: none;
    float: left;
    width: 5%;
    text-align: center;
    cursor: pointer;
    color: #555;
    transition: color .3s ease-in-out,background-color .3s ease-in-out;
    position: relative;
    margin: 3px 0;
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden;
    padding: 10px 0 0;
  }
}

.mobile {
  ul {
    display:flex;
    flex-wrap: wrap;
    li{
        width:14%;
      }
  } 
}

@media screen and (max-height: 800px) { 
	ul {
		max-height: calc(100vh - 400px);
	}
}